#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>


int main()
{
	int  i, length;
	long long sum=0;
	scanf("%d", &length);
	for (i=0;i <= length; i++)
	{
		sum = sum + i;
	}
	printf("%lld", sum);
	return 0;
}
